package com.samsung.spen.sshare.explorer.util;

import java.io.File;

public class FileSelected {

	private File file;
	private boolean isSelect = true;

	public boolean isSelect() {
		return isSelect;
	}

	public void setSelect(boolean isSelect) {
		this.isSelect = isSelect;
	}

	public FileSelected(File file) {
		super();
		this.file = file;
	}

	public FileSelected(String fileName) {
		file = new File(fileName);
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	@Override
	public String toString() {

		String string = "Name: " + getFile().getName() + " ,size (byte): "
				+ getFile().length();
		return string;
	}
}
